package com.czh.springboot04.service;

import com.czh.springboot04.entity.Free;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface FreeService {
    int freeAdd(Free fm);
    int freeUpdate(Free fm);
    int freeDelete(int id);
    PageInfo<Free> freeSelectAll(int pageNum, int pageSize);
    PageInfo<Free> freeSelectByName(int pageNum, int pageSize,String name);
}
